home *** CD-ROM | disk | FTP | other *** search
/ Mac100% 1999 April / MAC100-1999-04.ISO.7z / MAC100-1999-04.ISO / 特集2「iCON FREEEAK10000SP」 / clip2icns / Read Me < prev    next >
Text File  |  1999-01-29  |  6KB  |  76 lines

  1. clip2icns 1.1.1
  2. by Mihai Parparita
  3. $10 Shareware
  4. mihai@mscape.com
  5. http://www.mscape.com/
  6.  
  7. Introduction
  8.  
  9. This little utility is designed to help you create 32 bit icons (which are available under MacOS 8.5 and above). Since Apple has chosen (for the time being) not to release an editor, I've created clip2icns to fill that gap. It takes a picture from the clipboard, splits it up into the icon and mask, and either inserts it into a current file or makes a new icon.
  10.  
  11. Usage
  12.  
  13. First a quick explanation on how 32 bit icons work. All of their data is stored in an icns resource, including the 32, 8, 4, and 1 bit versions (you should also old style resources (icl8, ICN#, ics8, etc) for backwards compatibility). When drawing the icon the MacOS takes the icon and uses the mask to display it. Unlike the old masks where you only had two colors, white as transparent and black as opaque, the new 8 bit masks allow you to use grays to have semi-transparency. For example a light gray would make the icon be almost totally transparent, while a dark one would make it almost totally opaque. This semi-transparency can be used to create cool effects, such as translucent icons, drop shadows that look good on any background and anti-aliasing. For some examples of these effects see the clippings in the Goodies folder.
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21. clip2icns creates the icon by taking the clipboard data and splitting it up into different sections. The picture above shows how the 80x32 image is divided up.  If you don't want to you can omit the small version (thus the image size would be 64x32), and the Finder will shrink down the image automatically (although chances are that the result won't look so great). You can also make icons that only have the small version (so the image would be 16x32), but chances are that this is useful only if you make Kaleidoscope schemes.
  22.  
  23. Here are the steps used in creating or modifying icons:
  24.  
  25. 1. Create an 80x32, 64x32 or 16x32 image with your favorite image editor
  26. 2. Paint the icon(s) and mask(s) in their appropriate positions (see the image above)
  27. 3. Select the whole image and copy it to the clipboard.
  28. 4. Open up clip2icns.
  29. 5. Choose either New Icon From Clipboardノ or Insert Icon Into Fileノ from the File menu (you can also drag a file onto the application to insert an icon into it)
  30. 6. Pick a file or choose a spot to save the new icon (depending on which command you chose)
  31. 7. Pick an icon ID if necessary (the other IDs are only use useful for developers of Kaleidoscope schemes).
  32. 8. Click the Insert button and voila, the icon has been created.
  33.  
  34. There is another menu command, Extract Icon to Clipboardノ, which does the opposite of the above commands. It takes an icon and generates an 80x32 picture that contains the icon and mask, as well as the small versions. This is useful if you want to tweak someone else's icons, or if you want to see how they've done a certain trick.
  35.  
  36. Under the Edit menu there is a Preferencesノ command. You can use this to set a few global preferences.
  37.      ・ Include old style resources (if any) will make clip2icns look for old style icons (which use icl8, ICN#, ics8, etc resources) and if they're found they will be included into the new icns resource. They will only be displayed if you're at lower bit depths and you're running MacOS 8.5. 
  38.     ・ Generate old style resources  will create icl8, ICN#, ics8, etc resources. However, chanes are that they will be horribly dithered.
  39.     ・ Set bits Kaleidoscope-style will set the Purgeable and System Heap bits for the icon. This is only useful if you develop Kaleidoscope schemes.  
  40.     ・ Name resources will give the resources names (based on the ones that appear in the menu). The only reason why you might want to turn this off is if you want to save a few extra bytes in file size.
  41.  
  42. Shareware Info
  43.  
  44. clip2icns is shareware; it is NOT free. If you use clip2icns for more than a few icons you should pay a $10 registration fee. Registrations for clip2icns are handled by the Kagi Shareware service run by Kee Nethery. In addition to cash in various currencies and US dollar checks drawn on US banks, Kagi Shareware also accepts credit card registrations by snail-mail or e-mail (your card number is scrambled). For organizations, they handle invoices and site licenses, too. To register please use the enclosed Register application or register online at http://order.kagi.com/?QEJ. You will receive a registration code from Kagi, and when you enter that and your name in the registration dialog (available from the Apple menu) the reminder will be disabled.
  45.  
  46. Tips
  47.  
  48. If you're confused as to what some of the new system icons are, when using Mihai's utility there is an option under the file menu that allows you to extract an icon to the  clipboard. Make a copy of your System Resource file in your system 
  49. folder, and extract the icons from that. Then once you've tweaked them to  your liking, you can then use the tool to paste them into your scheme.
  50. Billy Martin
  51.  
  52. Version History
  53.  
  54. 1.1.1 December 7 1998
  55.  - fixed a rare compression bug
  56.  - included a Photoshop Action which takes a layer and its mask and copies them to the clipboard, ready to be imported into clip2icns
  57.  - when Generate Old Style Icons is turned on, icl4 resources are generated too
  58.  - improved keyboard handling in dialogs
  59.  - fixed a sporadic clipboard export bug
  60.  
  61. 1.1 October 31 1998
  62.  - fixed a serious compression bug
  63.  - when you type in an ID in the insertion or export dialogs, that icon will be previewed and the menu will show its name
  64.  - you can now type in any ID you want in the dialog, and the resource will be named properly
  65.  - name generation can be turned off in the preferences dialog
  66.  - old style icons can be generated too (but chances are that they will look horrible)
  67.  - mail and homepage links in the about box are now clickable (Internet Config is required for this)
  68.  - about box should work under 8.1 and lower
  69.  - added a sample translucent icon to the Goodies folder
  70. 1.0 October 20, 1998
  71.  - first public release
  72.  
  73. Future Plans
  74.  
  75. Two words: Icon Editor.